package com.auto.learning.bean;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "cacheType")
public class CacheTypeBean extends BaseModel<CacheTypeBean, Integer> {
	
	@DatabaseField(generatedId = true)
	protected int tId;
	@DatabaseField
	protected int bookId;
	@DatabaseField
	protected int type;  //type :0,猜你喜欢,1为本地缓存，-1位断点续播,2为最新作品,3周榜top
	public int getId() {
		return tId;
	}
	public void setId(int tId) {
		this.tId = tId;
	}
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
}
